#ifndef _DEVICE_H_
#define _DEVICE_H_

#include <vector>
#include <string>

class Sample;

class SerialDevice {
public:
  SerialDevice(std::string port, size_t baud) : _port(port), _baud(baud) {}
  virtual ~SerialDevice() {}

  virtual int downloadData(std::vector<Sample*>& sampleVec, const size_t totalSamplesToRead) = 0;

protected:
  std::string _port;
  size_t _baud;
};

#endif
